projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c89f001
)
Unbreak the button in the Flymake diagnostics buffer again
author
João Távora
<joaotavora@gmail.com>
Tue, 10 Oct 2017 15:20:51 +0000
(16:20 +0100)
committer
João Távora
<joaotavora@gmail.com>
Tue, 10 Oct 2017 16:21:14 +0000
(17:21 +0100)
Adding the 'keymap' property enabled RET but broke the mouse-action.
* lisp/progmodes/flymake.el
(flymake--diagnostics-buffer-entries): Use 'action' instead of 'keymap'.
lisp/progmodes/flymake.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/flymake.el
b/lisp/progmodes/flymake.el
index cf1e7e41ba1d1da97a296181a7e7d37360ca6122..e4c6a38a77e39d7a3525d77d43e9073781646c0c 100644
(file)
--- a/
lisp/progmodes/flymake.el
+++ b/
lisp/progmodes/flymake.el
@@
-1132,7
+1132,7
@@
POS can be a buffer position or a button"
mouse-face highlight
help-echo "mouse-2: visit this diagnostic"
face nil
- keymap flymake-diagnostics-buffer-mode-map
+ action flymake-goto-diagnostic
mouse-action flymake-goto-diagnostic)]))))
(define-derived-mode flymake-diagnostics-buffer-mode tabulated-list-mode